package com.huitone.gddw.service.dto;

import com.huitone.gddw.dao.entity.ErrorMng;

/**
 * 错误码管理 DTO类
 * @author wuluodan
 *
 */
public class ErrorMngDTO {

	private String recId;
	
	private String fromType;
	
	private String fromTypeName;
	
	private String errType;
	
	private String errCode;
	
	private String errMsg;
	
	private String status;
	
	private String desc;
	
	private int innerCode;

	public ErrorMngDTO() {}
	
	public ErrorMngDTO(ErrorMng entity) {
		this.setRecId(entity.getRecId());
		this.setFromType(entity.getFromType());
		this.setErrType(entity.getErrType());
		this.setErrCode(entity.getErrCode());
		this.setErrMsg(entity.getErrMsg());
		this.setStatus(entity.getStatus());
		this.setDesc(entity.getDesc());
		this.setInnerCode(entity.getInnerCode());
	}
	
	public String getRecId() {
		return recId;
	}

	public void setRecId(String recId) {
		this.recId = recId;
	}

	public String getFromType() {
		return fromType;
	}

	public void setFromType(String fromType) {
		this.fromType = fromType;
	}

	public String getFromTypeName() {
		return fromTypeName;
	}

	public void setFromTypeName(String fromTypeName) {
		this.fromTypeName = fromTypeName;
	}

	public String getErrType() {
		return errType;
	}

	public void setErrType(String errType) {
		this.errType = errType;
	}

	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public int getInnerCode() {
		return innerCode;
	}

	public void setInnerCode(int innerCode) {
		this.innerCode = innerCode;
	}
	
}
